package com.system.common.vo.purview;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

import java.io.Serializable;

public class PurviewVo implements Serializable {
    private static final long serialVersionUID = -6912646626118342195L;
    /**
     * 主键
     */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * 权限名
     */
    private String purName;

    /**
     * 父菜单ID
     */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long parentId;

    /**
     * 权限说明
     */
    private String purDescribe;

    /**
     * 权限类型,1 菜单，2 内部页面， 3 内部接口， 4 外部页面，5 外部接口
     */
    private Integer purType;

    /**
     * 权限地址,菜单时不用填写,外剖页面填写完整地址
     */
    private String purUrl;

    /**
     * 级别，默认为1，子菜单会根据此默认加1
     */
    private Integer level;

    /**
     * 是否要登陆,菜单时不用填写，0 不登陆， 1登陆
     */
    private Integer login;

    /**
     * 是否有效，0有效，1无效
     */
    private Integer state;

    private Integer orderNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPurName() {
        return purName;
    }

    public void setPurName(String purName) {
        this.purName = purName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getPurDescribe() {
        return purDescribe;
    }

    public void setPurDescribe(String purDescribe) {
        this.purDescribe = purDescribe;
    }

    public Integer getPurType() {
        return purType;
    }

    public void setPurType(Integer purType) {
        this.purType = purType;
    }

    public String getPurUrl() {
        return purUrl;
    }

    public void setPurUrl(String purUrl) {
        this.purUrl = purUrl;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLogin() {
        return login;
    }

    public void setLogin(Integer login) {
        this.login = login;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
}
